package com.ikangtai.shecare.common.baseView.recordButtonView;

import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.Button;

/**
 * Created by Administrator on 2016/1/20.
 */
public abstract class RecordSelectButton extends Button{

    public int backgroundColor;
    private String type;

    public RecordSelectButton(Context context){
        super(context);
    }
    public RecordSelectButton(Context context,AttributeSet attrs){
        super(context,attrs);
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getColor(){
        return backgroundColor;
    };

    public void setColor(int backgroundColor){
        this.backgroundColor=backgroundColor;
    };

    public abstract void clickAction(View view);

}
